import React from 'react';
import { Form } from 'antd';
import { AxCreateForm } from '@/components/AxForm/AxCreateForm';
import { AxTextArea } from '@/components/AxForm/AxFormItem';

const Create: React.FC<any> = props => {
    const { form, ...rest } = props;

    return (
        <>
            <AxCreateForm
                form={form}
                title="添加收获地址"
                {...rest}
                items={[
                    <AxTextArea form={form} label="收获地址" field="campusId3" required />,
                ]}
            />
        </>
    );
};

export default Form.create<any>()(Create);
